<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>商品列表</title>
	<style type="text/css">
	</style>
</head>
<body class="childrenBody">
<form class="layui-form">
	<blockquote class="layui-elem-quote quoteBox">
		<form class="layui-form">
			<div class="layui-inline">
				<div class="layui-input-inline">
					<input type="text" class="layui-input searchVal" placeholder="请输入标题名称" />
				</div>
				<a class="layui-btn search_btn" data-type="reload">搜索</a>
			</div>
			<div class="layui-inline">
				<a class="layui-btn layui-btn-normal addProduct_btn">添加产品</a>
			</div>

			
		</form>
	</blockquote>
	<table id="productList" lay-filter="productList"></table>

	<!--操作-->
	<script type="text/html" id="productListBar">
		
			
			<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
			{{# if(d.grounding){ }}
				<a class="layui-btn layui-btn-xs layui-btn-danger del" lay-event="del">下架</a>
			{{# }else {}}
				<a class="layui-btn layui-btn-xs layui-btn-danger del" lay-event="del">上架</a>
			{{# } }}

			{{# if(!d.bannerProduct){ }}
				<a class="layui-btn layui-btn-xs layui-btn-warm" lay-event="usable">设置为榜单产品</a>
			{{# }else {}}
				<a class="layui-btn layui-btn-xs layui-btn-warm" lay-event="usable">下架榜单产品</a>
			{{# } }}
			
		
		
	</script>
</form>
	<script type="text/javascript" src="${request.contextPath}/static/js/modules/business/productList.js"></script>
</body>
</html>